/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.model.admin;

import com.common.json.GenJsonArray;
import com.employee.model.EmployeeFacade;
import com.entities.Employee;
import java.util.List;
import javax.ejb.EJB;
import javax.ejb.Stateful;

/**
 *
 * @author _HungChilvas_
 */
@Stateful
public class EmployeeModel implements EmployeeModelRemote {
    @EJB
    private EmployeeFacade employeeFacade;

//    GenJsonArray genJson = new GenJsonArray();
            
    @Override
    public String listEmployee() {
     //List<Employee> lstEm=  employeeFacade.findAll();
     //return genJson.genJsonArray(employeeFacade.findAll());
     return null;
    }

    @Override
    public boolean addEmployee(Object ob) {
        
        return true;
    }

    @Override
    public boolean deleteEmployee() {
        return true;
    }

}
